<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td><table border="0" cellspacing="0" cellpadding="4">
        <tr>
          <td width="1"><span style="white-space:nowrap"><strong><a href="admin/modules/tangra_cms/category/category_content.php?_transit_category={$cat->get_id()}" {popup text="Manage virtual pages in this category"}>{$cat->get_title()}</a></strong> (o: {$cat->get_ordering()}; hid: {$cat->get_hid()})</span></td>
          <td><a href="admin/modules/tangra_cms/category/category_edit.php?category_obj_id={$cat->get_id()}&amp;parent_parent_category={$parent_category_id}" {popup text="Edit"}><img src="/img/modules/crystal_icons_small/16x16/edit.png" border="0" /></a></td>
          <td><a href="admin/modules/tangra_cms/category/category_edit.php?category_add_new=1&amp;parent_parent_category={$parent_category_id}&amp;parent={$cat->get_id()}" {popup text="Add child"}><img src="/img/modules/crystal_icons_small/16x16/add.png" border="0" /></a></td>
          <td><a href="admin/modules/tangra_cms/category/categories.php?move_up={$cat->get_id()}&amp;parent_category={$cat->get_parent()}" {popup text="Move up"}><img src="/img/modules/crystal_icons_small/16x16/up.png" border="0" /></a></td>
          <td><a href="admin/modules/tangra_cms/category/categories.php?move_down={$cat->get_id()}&amp;parent_category={$cat->get_parent()}" {popup text="Move down"}><img src="/img/modules/crystal_icons_small/16x16/down.png" border="0" /></a></td>
          <td><a href="admin/modules/tangra_cms/category/category_del.php?del={$cat->get_id()}&amp;parent_category={$parent_category_id}" {popup text="Delete"}><img src="/img/modules/crystal_icons_small/16x16/delete.png" border="0" /></a></td>
        </tr>
      </table></td>
  </tr>
  {if $cat->get_subcategories()}
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        {foreach from=$cat->get_subcategories() item=subcat}
        <tr>
          <td width="1">&nbsp;&nbsp;&nbsp;&nbsp;</td>
          <td>{include file="modules/tangra_cms/pages/_category/en/categories/category_row.tpl" cat=$subcat}</td>
        </tr>
        {/foreach}
      </table></td>
  </tr>
  {/if}
</table>
